package com.atguigu.gmall.product.service;

import io.minio.errors.*;
import org.springframework.web.multipart.MultipartFile;

import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

/**
 * @author lfy
 * @Description
 * @create 2023-08-15 14:38
 */
public interface FileuploadService {

    /**
     * 文件上传
     * @param file
     * @return
     */
    String upload(MultipartFile file) throws Exception;
}
